package com.atlige.gzmall.order.feign;

import com.atlige.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author: Jeremy lI
 * @description:
 * @date: created in 2021/7/8 20:18
 */
@FeignClient("gzmall-product")
public interface ProductFeignService {
    @GetMapping("/product/spuinfo/skuId/{id}")
    R getSpuBySkuId(@PathVariable("id") Long skuId);
}
